import { ApiResponse } from '../lib/class/Response'
import { REQUEST_STATUS } from '../lib/enum/STATUS_CODE'

export default {
  getSupportedLangs: () => {
    return new ApiResponse(
      [
        { index: 0, name: 'ANSI SQL', code: 'sql-ansi' },
        { index: 1, name: 'Hive SQL', code: 'sql-hive' },
        { index: 2, name: 'MySQL SQL', code: 'sql-mysql' }
      ],
      REQUEST_STATUS.REQUEST_SUCCESS
    )
  }
}
